<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>显示书籍信息</title>
</head>
<body>
    <h1>HelloWorld...</h1>
    <h1>书籍</h1>
    <h3>方式1</h3>
    <ul>
        {% for book in booklist %}
        <li>
            {% for element in book %}
                {{element}}
            {% endfor %}
        </li>
        {% endfor %}
    </ul>
    <hr><br>
    <ol>
        {% for book in books %}
            <li>书籍名:{{ book.bookname }}--价格:{{book.price}}</li>
        {% endfor %}
    </ol>
</body>
</html>